package net.hserver.admin.system.enums;

import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 菜单类型
 */
@Getter
@AllArgsConstructor
public enum MenuTypeEnum {
    DIR(0, "目录"),
    PAGE(1, "页面"),
    BTN(2, "按钮"),
    ;
    @EnumValue
    private final int code;
    private final String label;
}
